package pearson.automation.assets;

import pearson.automation.forms.BookDetailsForm;

public class Book extends AssetWithRollOver {

    protected Book(String assetName) {
        super(assetName);
    }
    
    public Book(AssetWithOutRollOver asset) {
        super(asset.getAssetTitle());
    }

    @Override
    protected String formatLogMsg(String message) {
        return "Book";
    }

    public BookDetailsForm click() {
        image.clickAndWait();
        return new BookDetailsForm();
    }

}
